#include "ShaderVertexAttribute.h"

using namespace Renderer;


int Renderer::ShaderVertexAttribute::GetLength()
{
	return _length;
}

Renderer::ShaderVertexAttributeType Renderer::ShaderVertexAttribute::GetType()
{
	return _type;
}

int Renderer::ShaderVertexAttribute::GetLocation()
{
	return _location;
}

std::string Renderer::ShaderVertexAttribute::GetName()
{
	return _name;
}

Renderer::ShaderVertexAttribute::ShaderVertexAttribute(std::string name, int location, ShaderVertexAttributeType type, int length)
{
	_name = name;
	_location = location;
	_type = type;
	_length = length;
}
